﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace util_c_sharp.util
{
    internal class UtilWait
    {
        internal static void Wait()
        {
            List<ManualResetEvent> manualEvents = new List<ManualResetEvent>();
            manualEvents.Add(new ManualResetEvent(false));

            WaitHandle.WaitAll(manualEvents.ToArray());
        }
    }
}
